import { Resolver } from '@nestjs/graphql';
import { ActivityService } from './activity.service';
import { BaseResolver } from 'src/common/mongodb/BaseResolver';
import { Activity } from './entities/activity.entity';
import { ActivityDto } from './dto';

@Resolver()
export class ActivityResolver extends BaseResolver<Activity, typeof ActivityDto>
  (Activity, ActivityDto, '游戏活动') {
  constructor(private readonly activityService: ActivityService) {
    super(activityService);
  }
}
